﻿@{
    Layout = null;
    string docClsCd = ViewData["docClsCd"] == null ? "" : ViewData["docClsCd"].ToString();
}
@using ElingOA6_DSJCJ.Models;
@using ElingOA6_DSJCJ.Common;
@using ElingOA6_DSJCJ.Model;
@using System.Data;
@model  Dictionary<string, List<DocumentGridModel>>
@{ 
    List<DocumentGridModel> documentList = new List<DocumentGridModel>();
    List<DocCls> subDocClsList = ViewData["subDocClsList"] == null ? new List<DocCls>() : ViewData["subDocClsList"] as List<DocCls>;
}
@helper  GetShowText(string keyDocCd, List<DocCls> subDocClsList)
    {
        List<ElingOA6_DSJCJ.Model.DocCls> tmpList = subDocClsList.Where(s => s.FDocClsCd == keyDocCd).ToList();
        if (tmpList.Count > 0)
        {
    @:@tmpList[0].FDocClsName
        }

}
<div class="container">
    <div class="header">
    	<div class="top"></div>
        <div class="nav">
        	<a href="/Column/LzzcIndex?clsCd=@docClsCd">首页</a>
            @{
                string key = "800601";
              }
            <a href="/Column/Lzzc_DocmentIndex?clsCd=@key">@GetShowText(key, subDocClsList)</a>
             @{
                key = "800602";
              }
            <a href="/Column/Lzzc_DocmentIndex?clsCd=@key">@GetShowText(key, subDocClsList)</a>
             @{
                key = "800603";
              }
            <a href="/Column/Lzzc_DocmentIndex?clsCd=@key">@GetShowText(key, subDocClsList)</a>
            @{
                key = "800604";
              }
            <a href="/Column/Lzzc_DocmentIndex?clsCd=@key">@GetShowText(key, subDocClsList)</a>
            @{
                key = "800605";
              }
            <a href="/Column/Lzzc_DocmentIndex?clsCd=@key&prop=A">@GetShowText(key, subDocClsList)</a>
            @{
                key = "800606";
              }
            <a href="/Column/Lzzc_DocmentIndex?clsCd=@key&prop=R">@GetShowText(key, subDocClsList)</a>
        </div>
    </div>    
    </div>
